pp108 : Properties of the Class Element

Properties of the Class Element

This topic describes the properties of the class element in the XML structure of a WS-AppServer model.

A class represents the database table as a BusObject. To create a BusObject, define values for the following properties:

Property

Description

<name>

Name of the class

<type>

Type of class. This element is valid only if the class is a custom class. The acceptable values are:

  • custom
  • query
  • derived

<java><name>

The name of the generated Java class.
Note: If a value for this element is not specified, the value of the <name> element is used instead.

<namespace>

The namespace of the class.
Note: If a value for this element is not specified, the namespace of the package is used instead.

<attributes>

The field names of the database table and their properties. See attribute for more information.

<methods>

The methods used in the class that interact with the database. See method for more information.


Related tasks

Viewing and Editing the XML Structure of a WS-AppServer Model

Related reference

Properties of the Attribute Element
Properties of the Method Element
Properties of the Parameter Element
Properties of the Relation Attribute
Properties of the Type Element